<div>
    <hr>
    <ul class="breadcrumb">
        <li>
            <a href="#">公司</a> <span class="divider">|</span>
        </li>
        <li>
            <a href="#">编辑</a>
        </li>
    </ul>
    <hr>
</div>
<div class="row-fluid sortable">
    <div class="box span12">
        <div class="box-header" data-original-title>
            <h2><i class="icon-edit"></i><span class="break"></span>公司信息</h2>
            <div class="box-icon">
                <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                <a href="#" class="btn-close"><i class="icon-remove"></i></a>
            </div>
        </div>
        <div class="box-content">
            <form class="form-horizontal"  action="<?php echo url('setting/company'); ?>" method="post" id="editForm">
                <fieldset>
                    <div class="control-group">
                        <label class="control-label" for="typeahead">公司名称 </label>
                        <div class="controls">                                
                            <input type="text" name="info[companyName]" value="<?php echo $info['companyName']; ?>" />   
                        </div>
                    </div>                    
                    <div class="control-group">
                        <label class="control-label" for="typeahead">公司地址 </label>
                        <div class="controls">
                            <input type="text" name="info[address]" value="<?php echo $info['address']; ?>" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="typeahead">公司电话 </label>
                        <div class="controls">
                            <input type="text" class="number" name="info[tel]" value="<?php echo $info['tel']; ?>" /> 

                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="typeahead">公司邮箱 </label>
                        <div class="controls">
                            <input type="text" class="email " name="info[email]" value="<?php echo $info['email']; ?>" /> 
                        </div>
                    </div>
                    <div class="control-group hidden-phone">
                        <label class="control-label" for="textarea2">公司网址</label>
                        <div class="controls"> 
                            <input type="text" class="url " name="info[site]" value="<?php echo $info['site']; ?>" /> 
                        </div>
                    </div>
                    <div class="control-group hidden-phone">
                        <label class="control-label" for="textarea2">公司 QQ</label>
                        <div class="controls"> 
                            <input type="text"  name="info[qq]" value="<?php echo $info['qq']; ?>" />
                        </div>
                    </div>
                    <div class="control-group hidden-phone">
                        <label class="control-label" for="textarea2">公司简介</label>
                        <div class="controls"> 
                            <input type="text" class="span6 typeahead" id="typeahead" value="<?php echo $info['description']; ?>" name="info[description]">
                        </div>
                    </div>
                    <div class="control-group hidden-phone">
                        <label class="control-label" for="textarea2">公司详情</label>
                        <div class="controls">  
                            <textarea id="ueditor" class="required" name="info[info]"><?php echo $info['info']; ?></textarea> 
                        </div>
                    </div>
                    <div class="form-actions">
                        <input type="submit" value="修改"   id="submit" class="btn btn-primary" />
                    </div>
                </fieldset>
            </form>   
        </div>  
    </div><!--/span-->
</div><!--/row-->
<script type="text/javascript">
    $(document).ready(function(){
        $("#submit").click(function(){
            submitForm('#editForm',"<?php echo url('setting/company'); ?>");	
        });

    });
</script>
